﻿//修改信息
var fnCustomEdit = function () {
    var recordID = myDataTable.getSelectedRows()[0];
    record = myDataTable.getRecord(recordID);
    if (record == null) {
        alert("请选择一条记录");
        return;
    }
    var deptName = record.getData("DeptName");
    var postName = record.getData("PostName");
    var pagetitle = "修改在职员工信息—" + record.getData("CName");
    parent.addTabs(pagetitle, "../Extend/Edit.aspx?r=" + Math.random() + "&entity=hrEmployee&id=" + record.getData(const_entityID) + "&deptName=" + deptName + "&postName=" + postName + "&type=1");
    parent.NeedRefreshPage = this;
}